package com.qzy.reggie.common;

import lombok.Data;

import java.util.List;

/**
 * 封装分页结果
 */
@Data
public class PageResult {

    // 记录总数
    private Long total;

    // 分页记录集合
    private List<?> records;

    public PageResult(){}

    public PageResult(Long total,List records){
        this.total = total;
        this.records = records;
    }
}
